package com.isljj.web_chat2.model;

import lombok.Data;

@Data
public class Result<T> {
    private int status;//状态码
    private String message;
    private T data;

    public Result(){

    }

    public Result(int status, String message, T data) {
        this.status = status;
        this.message = message;
        this.data = data;
    }

    @Override
    public String toString() {
        return "Result{" +
                "status=" + status +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }
}